TLA_Media\GTM_Kit\Integration\WooCommerce B

Total Complexity 82
Dependencies 4
Dependents 1
Total lines 696
Lines of code 419
Logical lines of code 196
Comment lines 159
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
get_datalayer_content_order_received()
A
39 12 62
get_item_data()
A
47 9 34
get_datalayer_content()
A
47 9 33
enqueue_scripts()
S
53 5 26
get_item_data_tag()
S
52 5 24
set_global_settings()
S
49 4 29
set_list_name_on_category_and_tag()
S
62 5 11
cart_item_remove_link()
S
53 4 25
product_list_loop_add_to_cart_tracking()
S
54 3 23
register()
S
45 1 52
get_datalayer_content_product_page()
S
57 3 17
get_datalayer_content_cart()
S
57 3 17
set_list_name_in_woocommerce_loop()
S
65 3 8
prefix_item_id()
S
74 2 4
get_cart_items()
S
66 2 8
instance()
S
69 2 7
get_datalayer_content_checkout()
S
63 2 10
get_datalayer_content_product_tag()
S
70 2 6
get_datalayer_content_product_category()
S
70 2 6
single_product_add_to_cart_tracking()
S
72 1 5
grouped_product_add_to_cart_tracking()
S
74 1 4
product_block_add_to_cart_tracking()
S
74 1 4
__construct()
S
76 1 4